namespace OasisCiq.Xal
{
    using System.Collections.Generic;
    using System.Collections.Specialized;
    using CommonTypes;
    using External;
    using XS;

    /// <summary>
    /// A container for postal-specific delivery identifier for remote communities.
    /// Note that not all countries have RuralDelivery
    /// </summary>
    public class RuralDelivery : IDataQualityGroup, IExtendedAttributes
    {
        /// <summary>
        /// Free text or structured description of rural delivery route. e.g. RD 6,
        /// at least one element required
        /// </summary>
        public virtual ICollection<IdentifierType> Identifiers { get; set; }

        /// <summary>
        /// Type of rural delivery. For some addresses,
        /// delivery to rural areas happens via water, air or road
        /// </summary>
        public virtual RuralDeliveryTypeList Type { get; set; }

        public virtual DataQualityTypeList DataQualityType { get; set; }

        public virtual XSDateTime ValidFrom { get; set; }

        public virtual XSDateTime ValidTo { get; set; }

        public virtual NameValueCollection ExtendedAttributes { get; set; }
    }
}